package hcn.protocol.brandnew.zhenliao.jianyan;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 检验项目明细获取-响应消息(成功) - ODS_03050002_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class LabRequestQueryItemDtailResponse {

    /**
     * 子项目集合
     */
    @XmlElementWrapper(name = "Items")
    @XmlElement(name = "Item")
    private List<Item> items;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Itemlist {

        /**
         * 收费项目代码
         */
        @XmlElement(name = "CostID")
        private String costID;
        /**
         * 收费项目名称
         */
        @XmlElement(name = "CostName")
        private String costName;
        /**
         * 费用数量
         */
        @XmlElement(name = "CostNumber")
        private String costNumber;
        /**
         * 费用单价
         */
        @XmlElement(name = "CostPrice")
        private String costPrice;
    }

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Item {

        /**
         * 检验(明细)项目代码
         */
        @XmlElement(name = "ChildItemCode")
        private String childItemCode;
        /**
         * 检验(明细)项目名称
         */
        @XmlElement(name = "ChildItemName")
        private String childItemName;
        /**
         * 项目单价
         */
        @XmlElement(name = "ItemPrice")
        private String itemPrice;
        /**
         * 项目数量
         */
        @XmlElement(name = "ItemCount")
        private String itemCount;
        /**
         * 申请执行科室
         */
        @XmlElement(name = "ExamExecuteDept")
        private String examExecuteDept;
        /**
         * 申请执行科室名称（新增）
         */
        @XmlElement(name = "ExamExecuteDeptName")
        private String examExecuteDeptName;
        /**
         * 收费项目集合
         */
        @XmlElementWrapper(name = "Itemlists")
        @XmlElement(name = "Itemlist")
        private List<Itemlist> itemlists;
    }

}
